package cn.fbs.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;

/**
 * @author yuyuesheng
 * @version 1.0
 * @description: TODO
 * @date 2021/4/1 10:31
 */
@Data
@ToString
public class UserRegistVo {

    @ApiModelProperty(value = "用户名")
    @NotEmpty(message = "用户名必须填写")
    private String userName;

    @ApiModelProperty(value = "密码")
    @NotEmpty(message = "密码不能为空")
    private String passWord;
}
